﻿namespace Dgg.Anug.Cqrs.Core.Infrastructure.Configuration
{
	internal class ApplicationConfiguration : IApplicationConfiguration
	{
		private readonly ApplicationSettings _settings;

		public ApplicationConfiguration() : this(ApplicationSettings.Default)
		{
		}

		public ApplicationConfiguration(ApplicationSettings settings)
		{
			_settings = settings;
		}

		public int PageSize { get { return _settings.PageSize; } }
	}
}
